<?php


namespace app\home\model;


class LeaveConfig extends Base
{

    public function getUserLeaveList($field = '*')
    {
        return self::where('status',1)->field($field)->select(); //type、假别、总天数
    }



}